package com.icesoft.system.vo;

import com.icesoft.framework.core.binding.annotation.BindEntityList;
import com.icesoft.system.entity.Menu;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

@Getter
@Setter
@Accessors(chain = true)
public class MenuVO extends Menu {

	@BindEntityList(entity = Menu.class, condition = "this.id=pid", orderBy = "sort:ASC")
	private List<MenuVO> children;

}